tools: fix sysfs error path
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 21 Jan 2010 11:27:11 +0000 (11:27 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 21 Jan 2010 11:27:11 +0000 (11:27 +0000)
commitb304702a73017e34bf64c974dfff9b5cd9f258de
tree34db95324ff2a5bc42af15fc8545354c928cd6d6
parent92181f18298ff8c415354150414efb7195c1b620
tools: fix sysfs error path

Attached patch fixes sysfs error path.
NetBSD also has a /proc/mounts file but no sysfs.
On Linux you can test this with sysfs not mounted.

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
tools/python/xen/util/pci.py
tools/python/xen/util/utils.py
tools/python/xen/util/vscsi_util.py